package com.wxyzz.cem.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author xclhove
 */

@Getter
@AllArgsConstructor
public enum UserStatus {
    /**
     * 正常
     */
    ENABLE(1, "正常"),
    /**
     * 禁封
     */
    DISABLE(0, "禁封");
    @EnumValue
    private final Integer status;
    @JsonValue
    private final String description;
}
